package com.hm.myapplication;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class MainActivity extends AppCompatActivity {


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_viewpager);
        BadViewPager pager = findViewById(R.id.viewpager);

        MyPagerAdapter adapter = new MyPagerAdapter(this);
        pager.setAdapter(adapter);
    }
}
